package com.campus.service;

import com.campus.pojo.SysArea;
import com.campus.tools.Tree;

import java.util.List;

public interface SchoolService {
    List<Tree> getSchoolTree(); //获取school tree
    SysArea getSelectedArea(String areaNumber); //根据区域号查找区域
    String selectParentName(String areaNumber);
    int updateSchool(SysArea sysArea);  //更新学校
    int isRepeatName(SysArea area);//判断重名
    int isRepeatAreaNumber(SysArea area);//判断areaNumber重复
    int addSchool(SysArea area);//添加学校
    int delSchool(String ids);//批量删除
}
